<?php



class DeliveryGroupMapBuilder {

	
	const CLASS_NAME = 'lib.model.map.DeliveryGroupMapBuilder';

	
	private $dbMap;

	
	public function isBuilt()
	{
		return ($this->dbMap !== null);
	}

	
	public function getDatabaseMap()
	{
		return $this->dbMap;
	}

	
	public function doBuild()
	{
		$this->dbMap = Propel::getDatabaseMap('propel');

		$tMap = $this->dbMap->addTable('delivery_group');
		$tMap->setPhpName('DeliveryGroup');

		$tMap->setUseIdGenerator(true);

		$tMap->addPrimaryKey('DELIVERY_ID', 'DeliveryId', 'int', CreoleTypes::INTEGER, true, null);

		$tMap->addColumn('DELIVERY_NAME', 'DeliveryName', 'string', CreoleTypes::VARCHAR, false, 25);

		$tMap->addColumn('DELIVERY_CHARGE', 'DeliveryCharge', 'double', CreoleTypes::DECIMAL, false, 10);

		$tMap->addColumn('STATUS_CODE', 'StatusCode', 'string', CreoleTypes::VARCHAR, false, 20);

	} 
} 